package com.hd.appcommon.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hd.appcommon.entity.Door;
import com.hd.appcommon.mapper.DoorMapper;
import com.hd.appcommon.service.DoorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @projectName:    entrance_guard 
 * @package:        com.hd.appcommon.service.impl
 * @className:      DoorServiceImpl
 * @author:     otto
 * @description:  
 * @date:    2023/7/25 15:41
 * @version:    1.0
 */ 

@Service
public class DoorServiceImpl extends ServiceImpl<DoorMapper, Door> implements DoorService {
    @Autowired
    DoorMapper doorMapper;
    @Override
    public Integer exist(QueryWrapper queryWrapper) {
        return doorMapper.exist(queryWrapper);
    }
}
